<template>
  <a-modal
    :title="title"
    :width="width"
    :visible="visible"
    :confirmLoading="confirmLoading"
    :footer="null"
    @cancel="handleCancel"
    cancelText="关闭">
    <a-spin :spinning="confirmLoading">
      <a-form :form="form">
        <a-row>
          <a-col :span="12">
            <a-form-item label="板卡编号" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-editable> {{record.smtBkbh}}</j-editable>
            </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="供应商" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.supplier}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="工厂" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.factory}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="设备编号" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.deviceno}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="监测项" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.point}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="预热区时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.smtYrq}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="恒温区时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.smtHwq}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="焊接区时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.smtHjq}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="冷却区时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.smtLqq}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="链速" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.returnVelocity}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="检查结论" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.conclusions}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="供应商编号" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.supplierCode}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="抓取状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.ioflag}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="工艺编号" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.processRouteNo}}</j-editable>
          </a-form-item>
          </a-col>
          <a-col :span="12">
          <a-form-item label="抓取时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <j-editable> {{record.updateTime}}</j-editable>
          </a-form-item>
          </a-col>

        </a-row>
      </a-form>
      <div style="text-align: center">
        <a-button type="primary" @click="handleCancel">关闭</a-button>
      </div>
    </a-spin>
  </a-modal>
</template>

<script>

  import { httpAction } from '@/api/manage'
  import pick from 'lodash.pick'
  import JDate from '@/components/jeecg/JDate'
  import JEditableTable from '../../../../../../components/jeecg/JEditableTable'
  import ATableColumn from 'ant-design-vue/es/table/Column'
  import ATableColumnGroup from 'ant-design-vue/es/table/ColumnGroup'

  export default {
    name: "ZxjEip2chbzsTimeModal",
    components: {
      ATableColumnGroup,
      ATableColumn,
      JEditableTable,
      JDate,
    },
    data () {
      return {
        title:"操作",
        width:1000,
        visible: false,
        model: {},
        labelCol: {
          xs: { span: 24 },
          sm: { span: 5 },
        },
        wrapperCol: {
          xs: { span: 24 },
          sm: { span: 16 },
        },

        confirmLoading: false,
        url: {
        }

      }
    },
    created () {
    },
    methods: {
      close () {
        this.$emit('close');
        this.visible = false;
      },
      handleCancel () {
        this.close()
      },
      addModal (record) {
        this.record=record;
        this.visible = true;
      }
    }
  }
</script>